<?php
/**
 * Created by PhpStorm.
 * User: YC
 * Date: 2017/4/30
 * Time: 13:51
 */

namespace app\home\validate;

use think\Validate;

class Tax extends Validate
{
    protected $rule = [
        'company|公司名称' => 'require',
        'inname|收件人'   =>  'require',
        'inmobile|收件人手机号码'   => 'require|mobile',
        'address|收件地址'   =>  'require',
        'price|开票金额'   =>  'require|float|gt:10',
        'uid|用户'   =>  'require|integer',
        'c_time|开票时间'=>'require|integer',
    ];

}